- 
		Home
	
 
	- 
WooCommerce Square
 
- 
4.1.0
 
- 
Code
 
- 
Classes
 
-  Record 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											56 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											579 | 
										
																			
											| Lines of code | 
											216 | 
										
																			
											| Logical lines of code | 
											89 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											227 | 
										
																			
											| Methods | 
											29 | 
										
																			
											| Properties | 
											6 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 29
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| parse_data() | 
									A  | 
																	48 | 
													8 | 
													35 | 
							
					
				| get_actions() | 
									S  | 
																	52 | 
													4 | 
													25 | 
							
					
				| get_message() | 
									S  | 
																	56 | 
													4 | 
													17 | 
							
					
				| get_local_date() | 
									S  | 
																	58 | 
													3 | 
													14 | 
							
					
				| set_product() | 
									S  | 
																	62 | 
													3 | 
													13 | 
							
					
				| set_id() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| __construct() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| get_label() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| get_type() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| set_type() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| is_type() | 
									S  | 
																	77 | 
													2 | 
													3 | 
							
					
				| set_message() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| get_product() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| set_product_hidden() | 
									S  | 
																	68 | 
													2 | 
													8 | 
							
					
				| get_data() | 
									S  | 
																	64 | 
													1 | 
													10 | 
							
					
				| get_id() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_default_type() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_valid_types() | 
									S  | 
																	67 | 
													1 | 
													8 | 
							
					
				| is_resolved() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| resolve() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_timestamp() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_date() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| remove_message() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| remove_product() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| has_product() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_product_id() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| was_product_hidden() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| save() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| destroy() | 
									S  | 
																	80 | 
													1 | 
													3 |